package com.example.its2021606134chh.MyCarModule;

import android.util.Log;

import com.example.its2021606134chh.fragment.CarFragment;
/*
    给的分析太乱，多个相同功能的重复实现，此类参数可以用Cars类代替。
 */
public class CarRecharge extends CarFragment {
    private int _id;
    private int carId;
    private int rechargeNum;
    private String rechargeDate;

    public CarRecharge(int _id, int carId, int rechargeNum, String rechargeDate) {
        this._id = _id;
        this.carId = carId;
        this.rechargeNum = rechargeNum;
        this.rechargeDate = rechargeDate;
    }

    public int get_id() {
        return _id;
    }

    public void set_id(int _id) {
        this._id = _id;
    }

    public int getCarId() {
        return carId;
    }

    public void setCarId(int carId) {
        this.carId = carId;
    }

    public int getRechargeNum() {
        return rechargeNum;
    }

    public void setRechargeNum(int rechargeNum) {
        this.rechargeNum = rechargeNum;
    }

    public String getRechargeDate() {
        return rechargeDate;
    }

    public void setRechargeDate(String rechargeDate) {
        this.rechargeDate = rechargeDate;
    }
}
